//
//  UIImage+Radius.h
//  MarketingApp
//
//  Created by 李叶夫 on 2018/4/13.
//  Copyright © 2018年 李叶夫. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface UIImage (Radius)

- (UIImage *)lyf_setCornerImageWithText:(NSString *)text textColor:(UIColor *)textColor textFont:(UIFont *)textFont fillColor:(UIColor *)fillColor opaque:(BOOL)opaque size:(CGSize)size cornerRadius:(CGFloat)cornerRadius;
+ (UIImage *)lyf_setImageWithText:(NSString *)text textColor:(UIColor *)textColor textFont:(UIFont *)textFont fillColor:(UIColor *)fillColor size:(CGSize)size;
- (void)lyf_setCornerImageWithText:(NSString *)text textColor:(UIColor *)textColor textFont:(UIFont *)textFont fillColor:(UIColor *)fillColor opaque:(BOOL)opaque size:(CGSize)size cornerRadius:(CGFloat)cornerRadius completion:(void (^)(UIImage *))completion;

- (UIImage *)lyf_setCornerImageWithSize:(CGSize)size cornerRadius:(CGFloat)cornerRadius;
- (void)lyf_setCornerImageWithSize:(CGSize)size fillColor:(UIColor *)fillColor opaque:(BOOL)opaque cornerRadius:(CGFloat)cornerRadius completion:(void (^)(UIImage *))completion;
+ (UIImage *)lyf_setCornerImageWithSize:(CGSize)size fillColor:(UIColor *)fillColor;
@end



@interface UIImageView (WebRadius)

- (void)lyf_setCornerImageWithUrl:(NSURL *)url placeholder:(UIImage *)placeholder cornerRadius:(CGFloat)cornerRadius;

@end

@interface UIButton (Radius)


@end
